package kds.network;


/**
 * The Class HTTPRequestDelegate.
 */
public abstract class HTTPRequestDelegate {

	/**
	 * On request error.
	 * 
	 * @param httpRequest
	 *            the http request
	 * @param error
	 *            the error
	 */
	public abstract void onRequestError(HTTPRequest httpRequest, Throwable error);

	/**
	 * On request reponse.
	 * 
	 * @param httpRequest
	 *            the http request
	 */
	public abstract void onRequestReponse(HTTPRequest httpRequest);

	/**
	 * On request start.
	 * 
	 * @param httpRequest
	 *            the http request
	 */
	public abstract void onRequestStart(HTTPRequest httpRequest);

	/**
	 * On request cancel.
	 * 
	 * @param httpRequest
	 *            the http request
	 */
	public abstract void onRequestCancel(HTTPRequest httpRequest);

}
